<template>
  <el-table :data="list" style="width: 100%;padding-top: 15px;">
    <el-table-column label="最近申请" min-width="200">
      <template slot-scope="scope">
        {{ scope.row.n  }}
      </template>
    </el-table-column>
    <el-table-column label="申请物品" width="195" align="center">
      <template slot-scope="scope">
        {{ scope.row.d  }}
      </template>
    </el-table-column>
    <el-table-column label="操作" width="120" align="center">
      <template slot-scope="{row}">
        <el-button @click="toSee">
          前往查看
        </el-button>
      </template>
    </el-table-column>
  </el-table>
</template>

<script>
export default {
  filters: {
    statusFilter(status) {
      const statusMap = {
        success: 'success',
        pending: 'danger'
      }
      return statusMap[status]
    },
    orderNoFilter(str) {
      return str.substring(0, 30)
    }
  },
  data() {
    return {
      list: [
        {
          n:" 邓冬梅",
          d:"钳子"
        }
      ]
    }
  },
  created() {
    this.fetchData()
  },
  methods: {
    fetchData() {

    }
  }
}
</script>
